﻿<UserControl x:Class="SolutionUsingThreadPoolInViewModel.View.TimeConsumingProcessControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             Height="150" Width="300">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <Grid Grid.Column="0" >
        <Button Content="Increment Count" Height="34" HorizontalAlignment="Left" Margin="28,58,0,0" Name="button1" VerticalAlignment="Top" Width="114" Command="{Binding Path=IncrementCounterCommand}"/>
            <TextBlock Height="24" HorizontalAlignment="Left" Margin="28,15,0,0" Name="textBox1" VerticalAlignment="Top" Width="114" Text="{Binding Path=Counter1}"/>
        </Grid>
        <Grid Grid.Column="1" >
        <Button Content="Decrement Count" Height="34" HorizontalAlignment="Left" Margin="28,58,0,0" Name="button2" VerticalAlignment="Top" Width="114" Command="{Binding Path=DecrementCounterCommand}"/>
            <TextBlock Height="24" HorizontalAlignment="Left" Margin="28,15,0,0" Name="textBox2" VerticalAlignment="Top" Width="114" Text="{Binding Path=Counter2}"/>
        </Grid>
    </Grid>
</UserControl>
